import React from 'react';

class HrefUrl extends React.Component {

  render() {
    return (
      <a
        className="App-link"
        href={this.props.url}
        target={this.props.target}
        rel="noopener noreferrer"
        onClick={this.props.onClick}
      >{this.props.title}
      </a>
    );
  }
}

export default HrefUrl;